package com.smh.demo1.a04;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author shiminghui
 * @date 2025/4/10 21:02
 * @description: TODO
 */
@Component
@ConfigurationProperties(prefix = "test")
public class Bean4 {
    private String value;

    public Bean4() {

    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    @Override
    public String toString() {
        return "Bean4{" +
                "value='" + value + '\'' +
                '}';
    }

}
